﻿using DAL.RepositoryInterfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


namespace DAL.Repositorios
{
    public interface IRepositoryRelations<T, E> : ISideEffectSavable
    {

        void Asign(T key, E relation);
        void Remove(T key, E relation);

        void RemoveAllFromKey(T key);

        void RemoveAllFromRelated(E related);
        
    }
}
